<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../layui/css/layui.css" />
	</head>
	<body>
		<form class="layui-form" action="">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">班级</label>
					<div class="layui-input-inline">
						<select name="search_class" id="search_class" lay-filter="search_class">
							<option value="">全部</option>
						</select>
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">课程</label>
					<div class="layui-input-inline">
						<select name="search_course" id="search_course">
							<option value="">全部</option>
						</select>
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">作业标题</label>
					<div class="layui-input-inline">
						<input type="text" name="search_taskname" id="search_taskname" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<div class="layui-input-block">
						<button type="submit" class="layui-btn" lay-submit="" lay-filter="search">查询</button>
						<!-- <button type="reset" class="layui-btn layui-btn-primary">重置</button> -->
					</div>
				</div>
			</div>
		</form>
		<table class="layui-hide" id="taskTest" lay-filter="taskTest"></table>
		<!-- from发布作业 -->
		<form class="layui-form" action="" id="addTaskForm" style="display: none;" style="padding-right: 20px;">
			<div class="layui-form-item">
				<label class="layui-form-label">班级</label>
				<div class="layui-input-block">
					<select name="cid" id="cid" lay-filter="cid">
						<!-- <option value=""></option> -->
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">课程</label>
				<div class="layui-input-block">
					<select name="coid" id="coid">
						<!-- <option value=""></option> -->
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">作业标题</label>
				<div class="layui-input-block">
					<input type="text" name="taskname" id="taskname" placeholder="请输入标题" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">作业内容</label>
				<div class="layui-input-block">
					<!-- <textarea class="layui-textarea layui-hide" id="content" name="content" lay-verify="content" id="LAY_demo_editor"></textarea> -->
					<textarea id="content" name="content"></textarea>
				</div>
			</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="addTaskBtn">发布作业</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<!-- 作业详情 -->
		<div id="StudentTaskTestdiv" style="display: none;"> 
			<table class="layui-hide" id="StudentTaskTest" lay-filter="StudentTaskTest"></table>
		</div>
	</body>
	<script type="text/html" id="taskToolbarDemo">
		<div class="layui-btn-container">
			<button class="layui-btn layui-btn-sm" lay-event="addTask">发布作业</button>
		</div>
	</script>

	<script type="text/html" id="taskbarDemo">
		<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="lookTask">查看作业</a>
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
	</script>
	<script src="../layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="./task.js" type="text/javascript" charset="utf-8"></script>
	<script src="StudentTaskTest.js" type="text/javascript" charset="utf-8"></script>
</html>
